package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseFintechCreditHistoryDao;
import com.appkubes.mall.core.entity.FintechCreditHistory;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseFintechCreditHistoryService extends AbstractBaseService<BaseFintechCreditHistoryDao, FintechCreditHistory> {

    FintechCreditHistory getOneByEntity(FintechCreditHistory entity);

    List<FintechCreditHistory> selectListByEntity(FintechCreditHistory entity);

    IPage<FintechCreditHistory> selectPageByEntity(IPage<FintechCreditHistory> page);
    IPage<FintechCreditHistory> selectPageByEntity(PageVO pageVO);

    IPage<FintechCreditHistory> selectPageByEntity(FintechCreditHistory entity, IPage<FintechCreditHistory> page);
    IPage<FintechCreditHistory> selectPageByEntity(FintechCreditHistory entity, PageVO pageVO);

    IPage<FintechCreditHistory> selectPageByEntity(FintechCreditHistory entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(FintechCreditHistory entity);
}
